package znbkChangeNote;

import com.google.gson.Gson;

import znbkChangeNote.entity.SaveNoteEntity;

/**
 * Created by Administrator on 2018\3\19 0019.
 */

public class SaveNoteEntityModel {

    public  static Gson gson;

    public static SaveNoteEntity getSaveNotesEntity(SaveNoteEntity.NoteBean Note,
                                                    String Title,
                                                    String Content){

        SaveNoteEntity mSaveNoteEntity = new SaveNoteEntity();
        mSaveNoteEntity.setNote(Note);
        mSaveNoteEntity.setTitle(Title);
        mSaveNoteEntity.setContent(Content);

        gson = new Gson();
        return mSaveNoteEntity;

    }

    public static SaveNoteEntity.NoteBean getNoteBean(String StuID,
                                                      String ResType,
                                                      String SubjectID,
                                                      String NoteID,
                                                      String StageNo,
                                                      String QuesID){

        SaveNoteEntity.NoteBean mNoteBean = new SaveNoteEntity.NoteBean();
        mNoteBean.setStuID(StuID);
        mNoteBean.setResType(ResType);
        mNoteBean.setSubjectID(SubjectID);
        mNoteBean.setNoteID(NoteID);
        mNoteBean.setStageNo(StageNo);
        mNoteBean.setQuesID(QuesID);

        gson = new Gson();
        return mNoteBean;
    }

}
